home *** CD-ROM | disk | FTP | other *** search
/ Champak 112 / jogo-disk-112.iso / Games / steppenwolf_3_chapter_7.swf / scripts / DefineButton2_968 / BUTTONCONDACTION on(keyPress O).as < prev    next >
Text File  |  2010-07-14  |  570b  |  20 lines

  1. on(keyPress "O"){
  2.    if(eval("/Variables:AnimJoue") != true and getProperty("_root.Animatiques", _currentframe) == 1)
  3.    {
  4.       set("/Variables:Stoppe",false);
  5.       _root.Inventaire.swapdepths(_root.Gts);
  6.       setProperty("/Gts", _X, 536);
  7.       setProperty("/Gts", _Y, 357);
  8.       setProperty("/Gts", _xscale, 20);
  9.       setProperty("/Gts", _yscale, 20);
  10.       if(eval("/Variables:Grimpe") == false)
  11.       {
  12.          tellTarget("/")
  13.          {
  14.             gotoAndStop(eval("/Variables:EtatActif"));
  15.          }
  16.       }
  17.       gotoAndStop(1);
  18.    }
  19. }
  20.